package modelstore

// ModelStoreOperation 模型存储接口
type ModelStoreOperation interface {
	Create(modelID string, commitMessage string, user string, bytes []byte, config []byte) (string, error)
	Save(modelID string, branch string, commitMessage string, user string, bytes []byte, config []byte) (string, error)
	Load(modelID string, ref string) ([]byte, map[string]interface{}, error)
	History(modelID string) ([]byte, error)
	Branch(modelID string, refBranch string, newBranch string) (string, error)
}
